<div class="busi-info ">
    {{#bs-form formLayout=formLayout model=customerModel action=(action "detailSaveClick") invalid=(action "invalid")}}
        <div class="sign col-sm-12 nopadding-left">
            <!-- <div class="col-sm-6 nopadding-left full-width"><strong>服务信息</strong></div> -->
            <!-- <div class="col-sm-2 nopadding-left bott cccc margin-top-20">
    </div> -->
            <div class="pull-left user-add-btn nopadding-left img-top-padding50 padding-bottom30">
                {{#if addMode}}
                    {{#if detailModify}}
                        {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa-save" text='保存' }}
                        {{/ui/mix-button}}
                        {{#ui/mix-button class=" user-btn times-btn" iconClass="fa fa-undo" text='取消' clickAction="cancelClick" cancelClick="cancelClick" }}
                        {{/ui/mix-button}}
                        <!-- <button class="btn btn-primary" type="button" {{action "detailSaveClick" on="click"}}><i class="fa fa-check icon-white"></i>&ensp;保存</button>
      <button class="btn btn-light-grey" {{action "CancelClick" on="click"}}><i class="fa fa-times"></i>&ensp;取消</button> -->
                    {{else}}
                        {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa fa-edit" text='编辑' clickAction="detailModifyClick" detailModifyClick="detailModifyClick" }}
                        {{/ui/mix-button}}
                        <!-- <a class="font-small" {{action "detailModifyClick" on="click"}}>
      <i class="el-pencil"></i>修改</a> -->
                    {{/if}}
                {{else}}
                    {{#if detailModify}}
                        {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa-save" text='保存' }}
                        {{/ui/mix-button}}
                        {{#ui/mix-button class=" user-btn times-btn" iconClass="fa fa-undo" text='取消' clickAction="cancelClick" cancelClick="cancelClick" }}
                        {{/ui/mix-button}}
                        <!-- <button class="btn btn-primary" type="button" {{action "detailSaveClick" on="click"}}><i class="fa fa-check icon-white"></i>&ensp;保存</button>
      <button class="btn btn-light-grey" {{action "CancelClick" on="click"}}><i class="fa fa-times"></i>&ensp;取消</button> -->
                    {{else}}
                        {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa fa-edit" text='编辑' clickAction="detailModifyClick" detailModifyClick="detailModifyClick" }}
                        {{/ui/mix-button}}
                        {{#ui/mix-button class=" user-btn trash-btn" iconClass="fa fa-trash-o" text='删除' clickAction="delById" clickActParams=customerInComp delById="delById" }}
                        {{/ui/mix-button}}
                        <!-- <a class="font-small" {{action "detailModifyClick" on="click"}}>
      <i class="el-pencil"></i>修改</a> -->
                    {{/if}}
                {{/if}}
            </div>
        </div>
        <div style="clear:both" />
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left ">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon nopadding-top">合同编号：</span>
                    {{#if detailModify}}
                        <!-- {{input class="input-group-content" value=customerInComp.contractNO type="text"}} -->
                        {{bs-form-element property="contractNO" class="inline-block form-input-group" controlType="contractNO" placeholder=""}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.contractNO}}</div>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon ">入住开始日期：</span>
                    {{#if detailModify}}
                        <!-- {{input class="input-group-content" value=customerInComp.checkInDate type="text"}} -->
                        <!-- {{bs-form-element property="checkInDate" class="inline-block form-input-group" controlType="checkInDate" placeholder="必填项"}} -->
                        <div class="inline-block form-input-group">
                            <!-- {{bootstrap-datepicker placeholder="点击显示日历" class="form-control"
              format="yyyy-mm-dd" language="zh-CN" value=customerModel.checkInDateTime
              changeDate="changeCheckInDateAction"}} -->
                            {{ui/addon/bs-datetimepicker date=customerModel.checkInDateTime placeholder="入住开始日期" locale="zh-CN" iconClasses="fa fa-calendar" format='YYYY-MM-DD' value=customerModel.checkInDateTime show="dpShowAction" change="changeCheckInDateAction" }}
                        </div>
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.checkInDateString}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-6">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">入住截止日期：</span>
                    {{#if detailModify}}
                        <!-- {{input class="input-group-content" value=customerInComp.checkOutDate type="text"}} -->
                        <!-- {{bs-form-element property="checkOutDate" class="inline-block form-input-group" controlType="checkOutDate" placeholder="必填项"}} -->
                        <!-- <div class="inline-block form-input-group">{{input type="date" class="input-group-content" value=customerModel.checkOutDateString required="true"}}</div> -->
                        <div class="inline-block form-input-group">
                            <!-- {{bootstrap-datepicker placeholder="点击显示日历" class="form-control"
                format="yyyy-mm-dd" language="zh-CN" value=customerModel.checkOutDateTime
                changeDate="changeCheckOutDateAction"}} -->
                            {{ui/addon/bs-datetimepicker date=customerModel.checkOutDateTime placeholder="入住截止日期" locale="zh-CN" iconClasses="fa fa-calendar" format='YYYY-MM-DD' value=customerModel.checkOutDateTime show="dpShowAction" change="changeCheckOutDateAction" }}
                        </div>
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.checkOutDateString}}</div>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">餐饮标准：</span>
                    {{#if detailModify}}
                        <!-- {{callbusi/dict-selector class="inline-block " curDict=customerInComp.diningStandard groupCode=constants.diningStandard showName="必填项" dictSelect="diningSelect"}} -->
                        {{#bs-form-element class="inline-block form-input-group" controlType="diningStandard" property="diningStandard" }}
                            {{callbusi/dict-selector curDict=customerModel.diningStandard groupCode=constants.diningStandard showName="" dictSelect="diningSelect" value=customerModel.diningStandard preselected=false}}
                        {{/bs-form-element}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.diningStandard.typename}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-6">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">护理等级：</span>
                    {{#if detailModify}}
                        <!-- {{callbusi/dict-selector class="inline-block " curDict=customerInComp.nursingGrade groupCode=constants.nursingLevel showName="必填项" dictSelect="nursingSelect"}} -->
                        {{#bs-form-element class="inline-block form-input-group" controlType="nursingGrade" property="nursingGrade" }}
                            {{callbusi/dict-selector curDict=customerModel.nursingGrade groupCode=constants.nursingLevel showName="" dictSelect="diningSelect" value=customerModel.nursingGrade preselected=false}}
                        {{/bs-form-element}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.nursingGrade.typename}}</div>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">床位信息：</span>
                    {{#if detailModify}}
                        {{#bs-form-element class="inline-block form-input-group" controlType="bed" property="bed" }}
                            {{#power-select class="inline-block input-group-content" placeholder="必填项" options=bedList selected=defaultBed searchField="bed.roomBedName" noMatchesMessage="没有相关内容" allowClear=false onchange=(action "selectParent" ) as |name|}}
                                {{name.roomBedName}}
                            {{/power-select}}
                        {{/bs-form-element}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerInComp.bed.roomBedName}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-6">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">房&nbsp;&nbsp;间&nbsp;&nbsp;号：</span>
                    <div class="font-light input-group-content">{{defaultBed.room.name}}</div>
                </div>
            </div>
        </div>
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">参考价格：</span>
                    {{#if detailModify}}
                        <!-- {{input class="input-group-content" value=customerInComp.referencePrice type="text"}} -->
                        {{bs-form-element property="referencePrice" class="inline-block form-input-group" controlType="referencePrice" placeholder=""}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.realReferencePrice}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-6">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">实际价格：</span>
                    {{#if detailModify}}
                        <!-- {{input class="input-group-content" value=customerInComp.actualPrice type="text"}} -->
                        {{bs-form-element property="actualPrice" class="inline-block form-input-group" controlType="actualPrice" placeholder=""}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.realActualPrice}}</div>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">保&nbsp;&nbsp;证&nbsp;&nbsp;金：</span>
                    {{#if detailModify}}
                        <!-- {{input class="input-group-content" value=customerInComp.actualDeposit type="text"}} -->
                        {{bs-form-element property="actualDeposit" class="inline-block form-input-group" controlType="actualDeposit" placeholder=""}}
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.realActualDeposit}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-6">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">折&nbsp;&nbsp;扣&nbsp;&nbsp;率：</span>
                    <div class="font-light input-group-content">{{customerModel.discountRate}}</div>
                </div>
            </div>
        </div>
        <div class="line">
            <div class="col-xs-12 col-sm-6 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</span>
                    {{#if detailModify}}
                        {{input class="input-group-content" value=customerInComp.remark type="text"}}
                        <!-- {{bs-form-element property="remark" class="inline-block form-input-group" controlType="remark" placeholder="必填项"}} -->
                    {{else}}
                        <div class="font-light input-group-content">{{customerModel.remark}}</div>
                    {{/if}}
                </div>
            </div>
        </div>
    {{/bs-form}}
</div>
